package com.guigu.www.erp.dehao.service;

import com.guigu.www.erp.common.pojo.MApply;
import com.guigu.www.erp.common.pojo.PageVo;

import java.util.List;


public interface DHMApplyService {

    void deleteByPrimaryKey(Integer id);
    void insertSelective(MApply mApply);
    MApply selectByPrimaryKey(Integer id);
    void updateByPrimaryKeySelective(MApply mApply);
    PageVo<MApply> findLikeMApply(Integer pageNum, Integer pageSize,
                                  String productName, String startTime, String endTime,
                                  Integer dept_id);

    PageVo<MApply> queryLikeMApply(Integer pageNum, Integer pageSize,String applyId,
                                  String productName, String startTime, String endTime);

    //查询最大的生产计划表编号
    String queryMaxApplyId();

    //根据applyId查
    List<MApply> queryByApplyId(String applyId);

    //根据applyId修改
    void updateByApplyId(MApply mApply);

    //查询各个状态的总数
    Integer numberCheckTag0();
    Integer numberCheckTag1();
    Integer numberCheckTag2();
}
